package com.chuf.springcloud.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @program: springCloud0920
 * @ClassName: ApplicationContextConfig
 * @description: 配置
 * @author: chuf
 * @create: 2020-09-22 17:26
 **/
@Configuration
public class ApplicationContextConfig {

    @Bean
    public RestTemplate getRestTemplate(){
        return new RestTemplate();
    }
}
